home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.20030409-20031118 / 000286_fdc@sesame.cc.columbia.edu_Mon Sep 22 12:30:35 EDT 2003.msg < prev    next >
Text File  |  2003-11-18  |  2KB  |  61 lines

  1. Article: 14529 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!news-not-for-mail
  3. From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: send command failed but file was sent?
  6. Date: 22 Sep 2003 12:30:24 -0400
  7. Organization: Columbia University
  8. Lines: 44
  9. Message-ID: <bkn830$bll$1@sesame.cc.columbia.edu>
  10. References: <JAEbb.2$aD4.1@newssvr22.news.prodigy.com>
  11. NNTP-Posting-Host: sesame.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1064248225 2391 128.59.59.56 (22 Sep 2003 16:30:25 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 22 Sep 2003 16:30:25 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14529
  16.  
  17. In article <JAEbb.2$aD4.1@newssvr22.news.prodigy.com>,
  18. Jun Zhang  <nugulus@netscape.net> wrote:
  19. : In the DELIVER script, a piece of the code,
  20. : AUTODIAL
  21. : if fail continue
  22. : out kermit\13
  23. : input 10 >
  24. : out receive\13
  25. : input 10 KERMIT READY
  26. : pause 1
  27. : send \%1
  28. : if success break
  29. : Each time the file was sent to the remote host OK, and I can view the 
  30. : content of the file, but the if statement didn't break the loop.
  31. This sequence is supposed to be inside a FOR loop.  Is it?
  32.  
  33. Maybe you made a typing error that changed the script in some way.  Please
  34. proofread it.  If you can't find any mistake, then send a copy of your
  35. entire script to kermit-support@columbia.edu.
  36.  
  37. : Another puzzle is that the remote shell always show up, even though I 
  38. : "set dial connect off".
  39. :
  40. I suspect the script just showing you its automated dialog with the shell.
  41. In that case, just add:
  42.  
  43.   set input echo off
  44.  
  45. and you won't see the dialog.
  46.  
  47. : I got something like "# receive --- not found", since receive is not a 
  48. : shell command. But again, file is transfered.
  49. Does the remote computer start a Kermit program when it is given a "kermit"
  50. command at its shell prompt?  Does the remote Kermit's prompt end with ">"?
  51.  
  52. Please read the scripting tutorial again.  You have to make the script do
  53. exactly what your eyes, hands, and brain do when you perform the same task
  54. interactively.
  55.  
  56. - Frank
  57.